package com.FindYou.utils;

import com.FindYou.Dao.Impl.UserDaoImpl;
import com.FindYou.Dao.UserDao;

/**
 * @Title: StaticFactoryBean
 * @Author 贾金博
 * @Package com.FindYou.utils
 * @Date 2024/11/8 上午9:18
 * @description: 静态工厂类
 */
public class StaticFactoryBean {

    /**
     * 通过工厂静态方法实例化
     * @return
     */
    public static UserDaoImpl createUserDao() {
        return new UserDaoImpl();
    }
}
